import java.util.TreeSet;


public class TreesetDemo1 {
	public static void main(String[] args) {
		TreeSet t=new TreeSet(new MyComparator3());
		t.add(new StringBuffer("a"));
		t.add(new StringBuffer("z"));
		t.add(new StringBuffer("k"));
		System.out.println(t);
	}

}
